from django.db import models


# Create your models here.


class BookModel(models.Model):
    title = models.CharField(max_length=32)
    price = models.IntegerField()
    # pub_date = models.DateField()


class Publish(models.Model):
    name = models.CharField(max_length=32)
    address = models.CharField(max_length=32)


class Author(models.Model):
    name = models.CharField(max_length=32)
    age = models.IntegerField()
    email = models.EmailField()


class Stuff(models.Model):
    name = models.CharField(max_length=32)
    age = models.IntegerField()


class Salary(models.Model):
    name = models.CharField(max_length=32)
    salary = models.IntegerField()
